# Tanım: GStreamer multimedya çerçevesi ffmpeg eklentileri
# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-base.html
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: gstreamer gstreamer-plugins-base yasm sdl
# Grup: medya

isim=gstreamer-plugins-ffmpeg
surum=0.10.13
devir=1
_isim=gst-ffmpeg
kaynak=(http://gstreamer.freedesktop.org/src/${_isim}/${_isim}-$surum.tar.bz2
	    http://downloads.nutyx.org/files/patchs/$isim/h264_qpel_mmx.patch)

derle() {
unset CFLAGS
unset CXXFLAGS

cd ${_isim}-$surum
patch -Np1 -i ../h264_qpel_mmx.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \
--with-package-isim='PisiLinux gstreamer-ffmpeg package' \
--with-package-origin='https://milis.gungre.ch/'

make || make -j1
make DESTDIR=$PKG install
}
